-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
3.3.2
-
Code
-
Classes
- CartItem
Total Complexity |
55 |
Dependencies |
2 |
Dependents |
9 |
Total lines |
434 |
Lines of code |
198 |
Logical lines of code |
99 |
Comment lines |
118 |
Methods |
32 |
Properties |
14 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setPrice() |
A |
51 |
8 |
26 |
setPriceNew() |
S |
64 |
4 |
10 |
addAttr() |
S |
62 |
3 |
13 |
removeAttr() |
S |
63 |
3 |
11 |
removeMark() |
S |
63 |
3 |
11 |
isPriceChanged() |
S |
66 |
3 |
8 |
areRuleApplied() |
S |
66 |
3 |
8 |
__construct() |
S |
59 |
2 |
14 |
__clone() |
S |
65 |
2 |
10 |
setMinDiscountRangePrice() |
S |
74 |
2 |
5 |
getTotalPrice() |
S |
80 |
1 |
3 |
hasMark() |
S |
79 |
1 |
3 |
getMarks() |
S |
82 |
1 |
3 |
addMark() |
S |
74 |
1 |
5 |
getDiscounts() |
S |
82 |
1 |
3 |
getMinDiscountRangePrice() |
S |
82 |
1 |
3 |
getMergeHash() |
S |
82 |
1 |
3 |
getHash() |
S |
82 |
1 |
3 |
setPos() |
S |
74 |
1 |
5 |
getHistory() |
S |
82 |
1 |
3 |
getPos() |
S |
82 |
1 |
3 |
recalculateMergeHash() |
S |
65 |
1 |
9 |
recalculateHash() |
S |
65 |
1 |
9 |
getAttrs() |
S |
82 |
1 |
3 |
hasAttr() |
S |
79 |
1 |
3 |
getWcItem() |
S |
82 |
1 |
3 |
getOriginalPrice() |
S |
82 |
1 |
3 |
getObjDiscounts() |
S |
82 |
1 |
3 |
getPrice() |
S |
82 |
1 |
3 |
setQty() |
S |
80 |
1 |
3 |
getQty() |
S |
82 |
1 |
3 |
isHistoryEqualsDiscounts() |
S |
80 |
1 |
3 |